<template>
  <div>
    <h1>vue3的代码</h1>
  </div>
</template>

<script>
export default {
  setup () {
    console.log('setup')
  },
  beforeCreate () {
    console.log('创建前')
  },
  created () {
    console.log('创建后')
  }
}
</script>

<style lang="scss" scoped>
</style>
